package com.alander.nexusgo.framework.file.starter.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface FileUploadService {

    String uploadFile(MultipartFile file) throws IOException;

    String uploadFile(MultipartFile file, String preFilePath) throws IOException;

    List<String> uploadFiles(List<MultipartFile> files) throws IOException;

    List<String> uploadFiles(List<MultipartFile> files, String preFilePath) throws IOException;

    void deleteFile(String fileName);
}
